home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global advance, ppl, foes
- if advance = 1 then
- foes(getAt(foes, 1), getAt(ppl, 2))
- else
- if (advance = 2) or (advance = 3) then
- foes(getAt(foes, 2), getAt(ppl, 3))
- foes(getAt(foes, 3), getAt(ppl, 4))
- else
- if advance = 4 then
- foes(getAt(foes, 1), getAt(ppl, 2))
- end if
- end if
- end if
- go(marker(0) + 1)
- end
-